<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="BeatGameEngine,org.leles.engines.beatgame.BeatGameEngine,R_LOW_LINEAR_PONTUATION,R_SONG_COMPLETED,_currentCombo,_currentDate,_currentNoteIndex,_dateStarted,_hitNotesCount,_linearPontuation,_maxCombo,_maxLinearPontuation,_missedNotesCount,_nextNote,_noteHitOffset,_noteHitTimeRange,_notesInTimeOffset,_notesTimeOffset,_numTracks,_song,_timer,_totalHitNotesHitDelta,_tracks,evCurrentComboIncreased,evGameLoop,evGameOver,evGameStart,evNewMaxCombo,evNoteEnterOffset,evNoteHit,evNoteLeaveOffset,evNoteLost,evNoteMiss,evTrackHold,evTrackRelease,evUpdateLinearPontuation,currentCombo,currentHitTime,currentTime,hitNotesCount,linearPontuation,maxCombo,missedNotesCount,noteHitOffset,noteHitTimeRange,notesTimeOffset,song,totalHitNotesHitDelta,gameLoop,gameOver,gameStart,getTrack,getTrackNearestHitNote,holdTrack,increaseCombo,increaseLinearPontuation,releaseTrack,resetCurrentCombo" name="keywords">
<title>org.leles.engines.beatgame.BeatGameEngine</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'BeatGameEngine - API Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Leles AS3 Lib</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?org/leles/engines/beatgame/BeatGameEngine.html&amp;org/leles/engines/beatgame/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;BeatGameEngine</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class BeatGameEngine"); titleBar_setSubNav(true,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.leles.engines.beatgame</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class BeatGameEngine</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">BeatGameEngine <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> <a href="BeatGameObject.html">BeatGameObject</a> <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
  ...
  <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#currentCombo">currentCombo</a> : int<div class="summaryTableDescription">[read-only]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#currentHitTime">currentHitTime</a> : Number<div class="summaryTableDescription">[read-only]
   calculates the current hitTime ( currentTime - hitnoteOffset )
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#currentTime">currentTime</a> : Number<div class="summaryTableDescription">[read-only]
   calculates the current time elapsed from the start of the game ( very acurated )
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="BeatGameObject.html#engine">engine</a> : <a href="../beatgame/BeatGameEngine.html">BeatGameEngine</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="BeatGameObject.html">BeatGameObject</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#hitNotesCount">hitNotesCount</a> : int<div class="summaryTableDescription">[read-only]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#linearPontuation">linearPontuation</a> : int<div class="summaryTableDescription">[read-only]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#maxCombo">maxCombo</a> : int<div class="summaryTableDescription">[read-only]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#missedNotesCount">missedNotesCount</a> : int<div class="summaryTableDescription">[read-only]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#noteHitOffset">noteHitOffset</a> : Number<div class="summaryTableDescription">[read-only]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#noteHitTimeRange">noteHitTimeRange</a> : Number<div class="summaryTableDescription">[read-only]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#notesTimeOffset">notesTimeOffset</a> : Number<div class="summaryTableDescription">[read-only]
   Accessor for the notesTimeOffset attribute
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#song">song</a> : <a href="../beatgame/BeatGameSong.html">BeatGameSong</a>
<div class="summaryTableDescription">
   Accessor for the local song object
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="BeatGameObject.html#tag">tag</a> : Object<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="BeatGameObject.html">BeatGameObject</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#totalHitNotesHitDelta">totalHitNotesHitDelta</a> : Number<div class="summaryTableDescription">[read-only]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
</table>
</div>
<a name="protectedPropertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProtectedProperty" id="hideInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(false,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Protected Properties</a>
</div>
<div class="showInheritedProtectedProperty" id="showInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(true,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Protected Properties</a>
</div>
</div>
<table id="summaryTableProtectedProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_currentCombo">_currentCombo</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_currentDate">_currentDate</a> : Date<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_currentNoteIndex">_currentNoteIndex</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_dateStarted">_dateStarted</a> : Date<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="BeatGameObject.html#_engine">_engine</a> : <a href="../beatgame/BeatGameEngine.html">BeatGameEngine</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="BeatGameObject.html">BeatGameObject</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evCurrentComboIncreased">evCurrentComboIncreased</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evGameLoop">evGameLoop</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evGameOver">evGameOver</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evGameStart">evGameStart</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evNewMaxCombo">evNewMaxCombo</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evNoteEnterOffset">evNoteEnterOffset</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evNoteHit">evNoteHit</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evNoteLeaveOffset">evNoteLeaveOffset</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evNoteLost">evNoteLost</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evNoteMiss">evNoteMiss</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evTrackHold">evTrackHold</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evTrackRelease">evTrackRelease</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#evUpdateLinearPontuation">evUpdateLinearPontuation</a> : <a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_hitNotesCount">_hitNotesCount</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_linearPontuation">_linearPontuation</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_maxCombo">_maxCombo</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_maxLinearPontuation">_maxLinearPontuation</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_missedNotesCount">_missedNotesCount</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_nextNote">_nextNote</a> : <a href="../beatgame/BeatGameNote.html">BeatGameNote</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_noteHitOffset">_noteHitOffset</a> : Number<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_noteHitTimeRange">_noteHitTimeRange</a> : Number<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_notesInTimeOffset">_notesInTimeOffset</a> : Array<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_notesTimeOffset">_notesTimeOffset</a> : Number<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_numTracks">_numTracks</a> : uint<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_song">_song</a> : <a href="../beatgame/BeatGameSong.html">BeatGameSong</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_timer">_timer</a> : Timer<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_totalHitNotesHitDelta">_totalHitNotesHitDelta</a> : Number<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_tracks">_tracks</a> : Array<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#BeatGameEngine()">BeatGameEngine</a>(tracks:uint = 4, updateRate:uint = 30)</div>
<div class="summaryTableDescription">
   Constructor of the engine
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#gameOver()">gameOver</a>(reason:String):void</div>
<div class="summaryTableDescription">
   Finish the cuurent song play
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#gameStart()">gameStart</a>(song:<a href="BeatGameSong.html">BeatGameSong</a> = null):void</div>
<div class="summaryTableDescription">
   Initialize the engine proccess
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getTrack()">getTrack</a>(trackIndex:uint):<a href="../beatgame/BeatGameTrack.html">BeatGameTrack</a>
</div>
<div class="summaryTableDescription">
   returns the track object at the trackIndex
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getTrackNearestHitNote()">getTrackNearestHitNote</a>(track:<a href="BeatGameTrack.html">BeatGameTrack</a>):<a href="../beatgame/BeatGameNote.html">BeatGameNote</a>
</div>
<div class="summaryTableDescription">
   returns the nearest note to hit area
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#holdTrack()">holdTrack</a>(trackIndex:int):void</div>
<div class="summaryTableDescription">
   Hold a track and check if a note was hit in the process
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#increaseCombo()">increaseCombo</a>(amount:int = 1):void</div>
<div class="summaryTableDescription">
   update de combo score and if it is greater than the maxCombo updates it to 
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#increaseLinearPontuation()">increaseLinearPontuation</a>(amount:int):void</div>
<div class="summaryTableDescription">
   Updates the linear pontuation value and tells everyone about that =]
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#releaseTrack()">releaseTrack</a>(trackIndex:uint):void</div>
<div class="summaryTableDescription">
   releases a track that was holded
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#resetCurrentCombo()">resetCurrentCombo</a>():void</div>
<div class="summaryTableDescription">
   resets the current combo score
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
</table>
</div>
<a name="protectedMethodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Methods</div>
<table id="summaryTableProtectedMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#gameLoop()">gameLoop</a>(e:TimerEvent):void</div>
<div class="summaryTableDescription">
   Main Game Loop Method
   </div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#R_LOW_LINEAR_PONTUATION">R_LOW_LINEAR_PONTUATION</a> : String = "R_LOW_LINEAR_PONTUATION"<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#R_SONG_COMPLETED">R_SONG_COMPLETED</a> : String = "R_SONG_COMPLETED"<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">BeatGameEngine</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="_currentCombo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_currentCombo</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _currentCombo:int</code>
</div>
<a name="currentCombo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">currentCombo</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>currentCombo:int</code>&nbsp;&nbsp;[read-only]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get currentCombo():int</code>
<br>
</div>
<a name="_currentDate"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_currentDate</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _currentDate:Date</code>
</div>
<a name="currentHitTime"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">currentHitTime</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>currentHitTime:Number</code>&nbsp;&nbsp;[read-only]<p>
   calculates the current hitTime ( currentTime - hitnoteOffset )
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get currentHitTime():Number</code>
<br>
</div>
<a name="_currentNoteIndex"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_currentNoteIndex</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _currentNoteIndex:int</code>
</div>
<a name="currentTime"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">currentTime</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>currentTime:Number</code>&nbsp;&nbsp;[read-only]<p>
   calculates the current time elapsed from the start of the game ( very acurated )
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get currentTime():Number</code>
<br>
</div>
<a name="_dateStarted"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_dateStarted</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _dateStarted:Date</code>
</div>
<a name="evCurrentComboIncreased"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evCurrentComboIncreased</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evCurrentComboIncreased:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evGameLoop"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evGameLoop</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evGameLoop:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evGameOver"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evGameOver</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evGameOver:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evGameStart"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evGameStart</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evGameStart:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evNewMaxCombo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evNewMaxCombo</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evNewMaxCombo:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evNoteEnterOffset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evNoteEnterOffset</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evNoteEnterOffset:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evNoteHit"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evNoteHit</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evNoteHit:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evNoteLeaveOffset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evNoteLeaveOffset</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evNoteLeaveOffset:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evNoteLost"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evNoteLost</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evNoteLost:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evNoteMiss"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evNoteMiss</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evNoteMiss:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evTrackHold"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evTrackHold</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evTrackHold:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evTrackRelease"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evTrackRelease</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evTrackRelease:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="evUpdateLinearPontuation"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">evUpdateLinearPontuation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var evUpdateLinearPontuation:<a href="../beatgame/BeatGameEvent.html">BeatGameEvent</a></code>
</div>
<a name="_hitNotesCount"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_hitNotesCount</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _hitNotesCount:int</code>
</div>
<a name="hitNotesCount"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hitNotesCount</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>hitNotesCount:int</code>&nbsp;&nbsp;[read-only]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get hitNotesCount():int</code>
<br>
</div>
<a name="_linearPontuation"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_linearPontuation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _linearPontuation:int</code>
</div>
<a name="linearPontuation"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">linearPontuation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>linearPontuation:int</code>&nbsp;&nbsp;[read-only]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get linearPontuation():int</code>
<br>
</div>
<a name="_maxCombo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_maxCombo</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _maxCombo:int</code>
</div>
<a name="maxCombo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">maxCombo</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>maxCombo:int</code>&nbsp;&nbsp;[read-only]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get maxCombo():int</code>
<br>
</div>
<a name="_maxLinearPontuation"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_maxLinearPontuation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _maxLinearPontuation:int</code>
</div>
<a name="_missedNotesCount"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_missedNotesCount</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _missedNotesCount:int</code>
</div>
<a name="missedNotesCount"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">missedNotesCount</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>missedNotesCount:int</code>&nbsp;&nbsp;[read-only]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get missedNotesCount():int</code>
<br>
</div>
<a name="_nextNote"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_nextNote</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _nextNote:<a href="../beatgame/BeatGameNote.html">BeatGameNote</a></code>
</div>
<a name="_noteHitOffset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_noteHitOffset</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _noteHitOffset:Number</code>
</div>
<a name="noteHitOffset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">noteHitOffset</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>noteHitOffset:Number</code>&nbsp;&nbsp;[read-only]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get noteHitOffset():Number</code>
<br>
</div>
<a name="_noteHitTimeRange"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_noteHitTimeRange</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _noteHitTimeRange:Number</code>
</div>
<a name="noteHitTimeRange"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">noteHitTimeRange</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>noteHitTimeRange:Number</code>&nbsp;&nbsp;[read-only]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get noteHitTimeRange():Number</code>
<br>
</div>
<a name="_notesInTimeOffset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_notesInTimeOffset</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _notesInTimeOffset:Array</code>
</div>
<a name="_notesTimeOffset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_notesTimeOffset</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _notesTimeOffset:Number</code>
</div>
<a name="notesTimeOffset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">notesTimeOffset</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>notesTimeOffset:Number</code>&nbsp;&nbsp;[read-only]<p>
   Accessor for the notesTimeOffset attribute
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get notesTimeOffset():Number</code>
<br>
</div>
<a name="_numTracks"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_numTracks</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _numTracks:uint</code>
</div>
<a name="_song"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_song</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _song:<a href="../beatgame/BeatGameSong.html">BeatGameSong</a></code>
</div>
<a name="song"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">song</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>song:<a href="../beatgame/BeatGameSong.html">BeatGameSong</a></code>&nbsp;&nbsp;[read-write]<p>
   Accessor for the local song object
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get song():<a href="../beatgame/BeatGameSong.html">BeatGameSong</a></code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set song(value:<a href="../beatgame/BeatGameSong.html">BeatGameSong</a>):void</code>
<br>
</div>
<a name="_timer"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_timer</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _timer:Timer</code>
</div>
<a name="_totalHitNotesHitDelta"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_totalHitNotesHitDelta</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _totalHitNotesHitDelta:Number</code>
</div>
<a name="totalHitNotesHitDelta"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">totalHitNotesHitDelta</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>totalHitNotesHitDelta:Number</code>&nbsp;&nbsp;[read-only]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get totalHitNotesHitDelta():Number</code>
<br>
</div>
<a name="_tracks"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_tracks</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _tracks:Array</code>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="BeatGameEngine()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">BeatGameEngine</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function BeatGameEngine(tracks:uint = 4, updateRate:uint = 30)</code><p>
   Constructor of the engine
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">tracks</span>:uint</code> (default = <code>4</code>)<code></code> &mdash; nunber of tracks the engine will espect song to have
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">updateRate</span>:uint</code> (default = <code>30</code>)<code></code> &mdash; the aproximated update rate of engine
   </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="gameLoop()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">gameLoop</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>protected function gameLoop(e:TimerEvent):void</code><p>
   Main Game Loop Method
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">e</span>:TimerEvent</code> &mdash; timerEvent object
   </td>
</tr>
</table>
</div>
<a name="gameOver()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">gameOver</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function gameOver(reason:String):void</code><p>
   Finish the cuurent song play
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reason</span>:String</code> &mdash; the reason because the game ended
   </td>
</tr>
</table>
</div>
<a name="gameStart()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">gameStart</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function gameStart(song:<a href="BeatGameSong.html">BeatGameSong</a> = null):void</code><p>
   Initialize the engine proccess
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">song</span>:<a href="BeatGameSong.html">BeatGameSong</a></code> (default = <code>null</code>)<code></code> &mdash; If set the engine will replace the current song value with the passed song
   
   </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br>A simple engine initialization
   <div class='listing'><pre>
    var mySong:BeatGameSong = new MyExtendedSong();
    var engine:BeatGameEngone = new BeatGameEngone();
    
    // ... define events listeners here
    
    engine.gameStart( mySong );
   </pre></div>
   <p></p>
</div>
<a name="getTrack()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getTrack</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getTrack(trackIndex:uint):<a href="../beatgame/BeatGameTrack.html">BeatGameTrack</a></code><p>
   returns the track object at the trackIndex
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">trackIndex</span>:uint</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../beatgame/BeatGameTrack.html">BeatGameTrack</a></code></td>
</tr>
</table>
</div>
<a name="getTrackNearestHitNote()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getTrackNearestHitNote</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getTrackNearestHitNote(track:<a href="BeatGameTrack.html">BeatGameTrack</a>):<a href="../beatgame/BeatGameNote.html">BeatGameNote</a></code><p>
   returns the nearest note to hit area
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">track</span>:<a href="BeatGameTrack.html">BeatGameTrack</a></code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../beatgame/BeatGameNote.html">BeatGameNote</a></code></td>
</tr>
</table>
</div>
<a name="holdTrack()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">holdTrack</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function holdTrack(trackIndex:int):void</code><p>
   Hold a track and check if a note was hit in the process
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">trackIndex</span>:int</code> &mdash; index of the track to be holded
   </td>
</tr>
</table>
</div>
<a name="increaseCombo()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">increaseCombo</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function increaseCombo(amount:int = 1):void</code><p>
   update de combo score and if it is greater than the maxCombo updates it to 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">amount</span>:int</code> (default = <code>1</code>)<code></code> &mdash; the amount to increase the current combo
   </td>
</tr>
</table>
</div>
<a name="increaseLinearPontuation()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">increaseLinearPontuation</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function increaseLinearPontuation(amount:int):void</code><p>
   Updates the linear pontuation value and tells everyone about that =]
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">amount</span>:int</code></td>
</tr>
</table>
</div>
<a name="releaseTrack()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">releaseTrack</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function releaseTrack(trackIndex:uint):void</code><p>
   releases a track that was holded
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">trackIndex</span>:uint</code> &mdash; index of the track to be released
   </td>
</tr>
</table>
</div>
<a name="resetCurrentCombo()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">resetCurrentCombo</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function resetCurrentCombo():void</code><p>
   resets the current combo score
   </p></div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="R_LOW_LINEAR_PONTUATION"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">R_LOW_LINEAR_PONTUATION</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const R_LOW_LINEAR_PONTUATION:String = "R_LOW_LINEAR_PONTUATION"</code>
</div>
<a name="R_SONG_COMPLETED"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">R_SONG_COMPLETED</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const R_SONG_COMPLETED:String = "R_SONG_COMPLETED"</code>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
